﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.controllers {
    import net.wooga.pets.events.*;
    import net.wooga.pets.models.*;
    import org.robotlegs.mvcs.*;

    public class SetSunSpeechBubbleCommand extends Command {

        public var event:InfoEvent;
        public var sunModel:SunModel;
        public var languageModel:LanguageModel;
        public var gameStateModel:GameStateModel;

        override public function execute():void{
            if (this.gameStateModel.initWorldComplete){
                this.sunModel.simpleMessage = this.languageModel.getTextByKey(this.event.id);
            };
        }

    }
}//package net.wooga.pets.controllers 
